Skip to main content
POST
[FC5] PDF OCR

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
input_file_url
string
required

S3 or public URL of the scanned PDF.

output_variable_name
string
default:ocr_pdf
required

Variable name for the result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
language
enum<string>
default:eng
Available options:
eng,
deu,
fra,
spa,
ita,
por,
jpn,
zho

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action